@layout("/common/_container.html"){
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal" id="VedioInfoForm">

            <input type="hidden" id="id" value="">

            <div class="row">
                <div class="col-sm-6">

                    <#input id="recTitle" name="标题" underline="true" />

                    <#select id="recList" name="推荐位" >
                        @for(rec in locationList) {
                        <option value="${rec.id}">${rec.title}</option>
                        @}
                    </#select>

                </div>
                <div class="col-sm-6">

                    <#file id="logoPath" name="标题图片" underline="true" />

                    <#cateModal id="cateList" name="产品" readonly="readonly" underline="true" type="button"/>
                </div>
            </div>

            <div id="logo-parent">
                <div id="logo-bar"></div>
            </div>

            <div class="row btn-group-m-t">
                <div class="col-sm-10">
                    <#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="RecInfoDlg.addSubmit()"/>
                    <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="RecInfoDlg.close()"/>
                </div>
            </div>
        </div>

    </div>
</div>
<div class="modal inmodal fade" id="cateModal" tabindex="-1" role="dialog" aria-hidden="true" style="display: none;">
    <div class="modal-dialog modal-lg">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span
                        class="sr-only">Close</span>
                </button>
                <p class="modal-title">专辑选择</p>
            </div>
            <small class="font-bold">
                <div class="modal-body">
                    <#SelectCon id="bannerSelecter" name="栏目" >
                        <option value="0" selected="selected">无</option>
                        @for(banner in bannerList) {
                        <option value="${banner.id}">${banner.name}</option>
                        @}
                    </#SelectCon>
                </div>
                <div class="modal-body" id="cates">
                    @for(category in cateList) {
                    <input class="categroys" name="cate_name" value="${category.id}" cate-name="${category.name}" type="radio"/>${category.name}&nbsp;&nbsp;&nbsp;&nbsp;
                    @}
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-white" data-dismiss="modal">取消</button>
                    <button type="button" class="btn btn-primary" onclick="RecInfoDlg.getCates()">确定</button>
                </div>
            </small>
        </div>
        <small class="font-bold">
        </small>
    </div>
    <small class="font-bold">
    </small>
</div>
<script src="${ctxPath}/static/modular/app/recommend/radio/recommend_info.js"></script>
@}

